package cn.eonshine.cuba.securitybackup.modular.log.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alan
 * @since 2018-08-11
 */
@TableName("inf_log_detail")
public class SecurityLogDetail extends Model<SecurityLogDetail> {

    private static final long serialVersionUID = 1L;

    @TableId("ID")
    private String id;
    @TableField("LOG_ID")
    private String logId;
    @TableField("OP_DATA")
    private String opData;
    @TableField("EXCEPTION")
    private String exception;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLogId() {
        return logId;
    }

    public void setLogId(String logId) {
        this.logId = logId;
    }

    public String getOpData() {
        return opData;
    }

    public void setOpData(String opData) {
        this.opData = opData;
    }

    public String getException() {
        return exception;
    }

    public void setException(String exception) {
        this.exception = exception;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "InLogDetail{" +
        ", id=" + id +
        ", logId=" + logId +
        ", opData=" + opData +
        ", exception=" + exception +
        "}";
    }
}
